/*
package com.ynding.cloud.auth.api.authentication.client;

import com.ynding.cloud.auth.api.authentication.client.fallback.OauthClientFallback;
import com.ynding.cloud.common.dict.CloudServiceInfo;
import com.ynding.cloud.common.model.bo.ResponseBean;
import io.swagger.annotations.ApiOperation;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.http.HttpHeaders;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestHeader;
import org.springframework.web.bind.annotation.RequestParam;

*/
/**
 * <p> </p>
 *
 * @author ynding
 * @version 2021/6/21
 **//*

@FeignClient(value = CloudServiceInfo.AUTH_SERVER_AUTHENTICATION,fallback = OauthClientFallback.class)
@Component
public interface OauthClient {

    */
/**
     * 调用签权服务，判断用户是否有权限
     *
     * @param authorization Bearer token
     * @param url
     * @param method
     * @return true/false
     *//*

    @PostMapping(value = "/oauth/auth/permission")
    ResponseBean<Boolean> auth(@RequestHeader(HttpHeaders.AUTHORIZATION) String authorization, @RequestParam("url") String url, @RequestParam("method") String method);

    */
/**
     * 是否无效authentication
     * @param authentication
     * @return
     *//*

    @GetMapping("/oauth/invalidJwtAccessToken")
    @ApiOperation(value = "是否无效authentication", produces = "application/json")
    ResponseBean invalidJwtAccessToken(@RequestParam("authentication") String authentication);
}
*/
